package com.yinp.proapp.module.im.bean;

import cn.bmob.v3.BmobObject;
import io.rong.imlib.model.Message;

/**
 * @author :yinpeng
 * date      :2021/11/26
 * package   :com.yinp.proapp.module.im.bean
 * describe  :
 */
public class ImMessageBean extends Message {
    private String userId;
    private String userName;
    private String headUrl;
    private int messageType;
    private String contentText;
    private boolean isOwn;

    public ImMessageBean(String contentText, String headUrl,int messageType, boolean isOwn) {
        this.contentText = contentText;
        this.headUrl = headUrl;
        this.isOwn = isOwn;
        this.messageType = messageType;
    }

    public String getHeadUrl() {
        return headUrl;
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    public int getMessageType() {
        return messageType;
    }

    public void setMessageType(int messageType) {
        this.messageType = messageType;
    }

    public String getContentText() {
        return contentText;
    }

    public void setContentText(String contentText) {
        this.contentText = contentText;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public boolean isOwn() {
        return isOwn;
    }

    public void setOwn(boolean own) {
        isOwn = own;
    }
}
